BusyBox中的FTP和TFTP的使用 您所在的位置:网站首页 嵌入式busybox中TFTP服务器的使用 BusyBox中的FTP和TFTP的使用

BusyBox中的FTP和TFTP的使用

2024-05-09 18:02| 来源: 网络整理| 查看: 265

版本:BusyBox-1.17.4编译过程选择FTP和TFTP相关选项。

TFTP在终端中输入tftp命令,可以得到以下帮助信息:

BusyBox v1.17.4 (2010-12-22 10:59:18 CST) multi-call binary. Usage: tftp [OPTIONS] HOST [PORT] Transfer a file from/to tftp server Options:         -l FILE Local FILE         -r FILE Remote FILE         -g Get file         -p Put file         -b SIZE Transfer blocks of SIZE octets

从172.19.6.100服务器上获取rootfs.jffs2文件,前提是在服务器上开启TFTP的服务器,比如TFTPD32.,可以使用如下命令

tftp 172.19.6.100 -g -r rootfs.jffs2

FTP在终端输入ftpget命令,可以得到以下帮助信息:

BusyBox v1.17.4 (2010-12-22 10:59:18 CST) multi-call binary. Usage: ftpget [OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE Retrieve a remote file via FTP Options:         -c,--continue Continue previous transfer         -v,--verbose Verbose         -u,--username Username         -p,--password Password         -P,--port Port number

从172.19.6.88服务器上获取asc.bin文件,服务器端的FTP服务器开启,可以使用以下命令

ftpget -u rtos -P ****** 172.19.6.88 asc.bin

其中rots为用户名,*****为登录密码。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有